Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Trigrids


Q3TriGrid_SetVertexPosition

You can use the Q3TriGrid_SetVertexPosition function to set the position of a vertex of a trigrid.

TQ3Status Q3TriGrid_SetVertexPosition (
TQ3GeometryObject triGrid, 
unsigned long rowIndex, 
unsigned long columnIndex, 
const TQ3Point3D *position);
triGrid
A trigrid.
rowIndex
A row index into the vertices array of the specified trigrid.
columnIndex
A column index into the vertices array of the specified trigrid.
position
The desired position of the specified vertex.
DESCRIPTION
The Q3TriGrid_SetVertexPosition function sets the position of the vertex having row and column indices rowIndex and columnIndex in the vertices array of the trigrid specified by the triGrid parameter to that specified in the position parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996